home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3071 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: nntp.teleport.com!sschaem
  2. From: sschaem@teleport.com (Stephan Schaem)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Fastest way to clear a Window?
  5. Date: 10 Feb 1996 14:41:10 GMT
  6. Organization: Teleport - Portland's Public Access (503) 220-1016
  7. Message-ID: <4fiaq6$ejm@maureen.teleport.com>
  8. References: <4fck5b$7mm@leofric.coventry.ac.uk>
  9. NNTP-Posting-Host: julie.teleport.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Dave Jackson (dj@coventry.ac.uk) wrote:
  13. : I'm writing a 3d graphics viewer thingy using intuition windows.  What I 
  14. : want to know is, what is the fastest way of clearing a window?  At the 
  15. : moment I'm using SetRast() but there must be a faster way.  I'm using a 
  16. : custom screen, so I could make it draw lines on a single bitplane and 
  17. : then just clear that one plane, but the RKM:Libraries has nothing on how 
  18. : to clear one plane...  help!
  19.  
  20.  You probably want to write to fastmem and copy/clear your buffer to chip.
  21.  Try to see something related to write mask... you can mask out bitplane
  22.  when doing gfx operation. 
  23.  
  24.  All this supose you are writting for the amiga chipset and not some 
  25.  of the current gfx cards.
  26.  
  27.  Stephan
  28.